package com.cls.yygh.hosp.repository;

import com.cls.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @program: yygh
 * @description:
 * @author: LH
 * @create: 2021-11-10 11:35
 **/

@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {

    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
